<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link href='/meirong/Public/Member/css/global.css' rel='stylesheet' type='text/css' />
<link href='/meirong/Public/Member/css/main.css' rel='stylesheet' type='text/css' />

<script type='text/javascript' src='/meirong/Public/Member/js/jquery-1.7.2.min.js'></script>
<script type='text/javascript' src='/meirong/Public/Member/js/global.js'></script>
<link href='/meirong/Public/Member/css/wechat.css' rel='stylesheet' type='text/css' />
<!--[if lte IE 9]><script src="__PUBIC__/Member/js/jquery.watermark-1.3.js"></script><![endif]-->
<script type='text/javascript' src='/meirong/Public/Member/js/wechat.js'></script>
<script type="text/javascript" src="/meirong/Public/Member/js/operamasks-ui.min.js"></script>
<script type="text/javascript" src="/meirong/Public/Member/js/coupon.js"></script>
<script type='text/javascript'>
var web_domain='/meirong';
var static_domain='/meirong';
var img_domain='/meirong';
var _PUBLIC_ = '/meirong/Public';
var _FILE_ = '<?php echo U('Index/ajaxFileUpload');?>';
var domain={
        www:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        static:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        img:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        file:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        kf:'<?php echo C('WEB_ABSOLUTE_URL');?>'
};
</script>

<script type="text/javascript" src="/meirong/Public/Member/js/car_repair.js"></script>
<link href="/meirong/Public/Member/css/datepicker.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="/meirong/Public/Member/js/datepicker.js"></script>
<script language="javascript">
$(document).ready(coupon_obj.addcoupon_init);
</script>

</head>

<body>
	
	
	<div id="iframe_page">
		<div class="iframe_content">
			<div class="r_nav">
				<ul>
				<li class="<?php if((ACTION_NAME) == "projectlist"): ?>cur<?php endif; ?>"><a href="<?php echo U('Project/projectlist');?>">作品管理</a></li>
				<li class="<?php if((ACTION_NAME) == "coupon"): ?>cur<?php endif; ?>"><a href="<?php echo U('Coupon/coupon');?>">优惠券列表</a></li>
				<li class="<?php if((ACTION_NAME) == "review"): ?>cur<?php endif; ?>"><a href="<?php echo U('Review/review');?>">评论列表</a></li>
				</ul>
			</div>

		
		

			
	<!-- <div id="wechat_auth" class="r_con_wrap"> -->
    <form id="addcoupon"  class="r_con_form">
              
		<div class="rows">
	        <label>到期时间<span class="fc_red">*</span></label>
	        <span class="input">
	        <input name="coupon_etime" value="<?php echo ($list["coupon_etime"]); ?>" class="form_input" size="35" maxlength="100"  type="text" notnull> </span>
	        <div class="clear"></div>
	    </div>
	    <div class="rows">
	        <label>优惠券名称<span class="fc_red">*</span></label>
	        <span class="input">
	        <input name="coupon_name" value="<?php echo ($list["coupon_name"]); ?>" class="form_input" size="35" maxlength="100"  type="text" notnull> </span>
	        <div class="clear"></div>
	    </div>
	    <div class="rows">
	        <label>优惠券价值<span class="fc_red">*</span></label>
	        <span class="input">
	        <input name="coupon_price" value="<?php echo ($list["coupon_price"]); ?>" class="form_input" size="35" maxlength="100"  type="text" notnull> </span>
	        <div class="clear"></div>
	    </div>
	    <div class="rows">
	        <label>优惠券数量<span class="fc_red">*</span></label>
	        <span class="input">
	        <input name="coupon_num" value="<?php echo ($list["coupon_num"]); ?>" class="form_input" size="35" maxlength="100"  type="text" notnull> </span>
	        <div class="clear"></div>
	    </div>
        <div class="rows">
	        <label>优惠券规则<span class="fc_red">*</span></label>
	        <span class="input">满
	        <input name="coupon_rule" value="<?php echo ($list["coupon_rule"]); ?>" class="form_input" size="10" maxlength="100"  type="text" notnull>后可用 </span>
	        <div class="clear"></div>
	    </div>
        <div class="rows">
            <label></label>
            <span class="input"><input type="button" class="btn_green" id="coupon_submit" value="提交保存" /><a href="<?php echo U('coupon/coupon');?>" class="btn_gray">返回</a></span></span>
            <div class="clear"></div>
        </div>
        <input type="hidden" name="id" value="<?php echo ($list["id"]); ?>">
        <input type="hidden" id="do_action" value="<?php echo U('coupon/addcoupon');?>">
        <input type="hidden" id="coupon" value="<?php echo U('coupon/coupon');?>">
    </form>
<!-- </div>  -->

			
			</div>
			</div>
</body>
</html>